/**
 * @Author: 陈新林
 * @Date: 2021-10-09
 * @Last Modified by: chenxinlin
 * @Last Modified time: 2020-12-23 14:38
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 列表查询
export const getRegisterList = params => axios.get(`${SERVER.CMSCLOUD_WMS}/user/Demands`, {params})

// 用户诉求工单保存
export const dosave = params => axios.post(`${SERVER.CMSCLOUD_WMS}/user/Demands/save`, params)

// 查询下拉选项
export const getSelectList = params => axios.get(`${SERVER.CMSCLOUD_WMS}/user/Demands/getSelectList`, {params})

// 诉求工单处理过程
export const getHandleList = params => axios.get(`${SERVER.CMSCLOUD_WMS}/user/Demands/getHandleList`, {params})

// 用户诉求处理过程保存
export const dealwithHandle = params => axios.post(`${SERVER.CMSCLOUD_WMS}/user/Demands/doSaveDemandsHandle`, params)
